package day07;

public class OverloadDemo {
    public static void main(String[] args) {

        show();
        show(20);
        show("蔡徐坤",25);
        show(25,"蔡徐坤");
        //show("caixukun");没有String单独参与的方法

    }

    public static void show(){ }
    public static void show(int a){}
    public static void show(String name,int age){}
    public static void show(int age,String name){}
    //public static int show(){ return 1;}重载与返回值无关
    //public static void show(String number,int sum){}重载与参数变量名字无关

    public static void show1(){}//这不是重载 重载是方法名一样参数部分不一样

}
